package com.ruoyi.cngj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 cngj_banner
 * 
 * @author yuexl
 * @date 2024-06-27
 */
public class CngjBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 轮播图片 */
    @Excel(name = "轮播图片")
    private String bannerImg;

    /** 排序 */
    @Excel(name = "排序")
    private Integer bannerSort;

    /** 轮播分类 */
    @Excel(name = "轮播分类")
    private String bannerType;

    /** 状态 */
    @Excel(name = "状态")
    private String bannerState;


    private String bannerImgPhone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBannerImg(String bannerImg) 
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg() 
    {
        return bannerImg;
    }
    public void setBannerSort(Integer bannerSort) 
    {
        this.bannerSort = bannerSort;
    }

    public Integer getBannerSort() 
    {
        return bannerSort;
    }
    public void setBannerType(String bannerType) 
    {
        this.bannerType = bannerType;
    }

    public String getBannerType() 
    {
        return bannerType;
    }
    public void setBannerState(String bannerState) 
    {
        this.bannerState = bannerState;
    }

    public String getBannerState() 
    {
        return bannerState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("bannerImg", getBannerImg())
            .append("bannerSort", getBannerSort())
            .append("bannerType", getBannerType())
            .append("bannerState", getBannerState())
            .toString();
    }

    public String getBannerImgPhone() {
        return bannerImgPhone;
    }

    public void setBannerImgPhone(String bannerImgPhone) {
        this.bannerImgPhone = bannerImgPhone;
    }
}
